package com.movie.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "评论审核数据传输对象")
public class ReviewDTO {
    
    @Schema(description = "审核ID")
    private Long id;
    
    @Schema(description = "评论ID")
    private Long commentId;
    
    @Schema(description = "评论内容")
    private String commentContent;
    
    @Schema(description = "评论评分")
    private Double commentRating;
    
    @Schema(description = "影片ID")
    private Long movieId;
    
    @Schema(description = "影片标题")
    private String movieTitle;
    
    @Schema(description = "用户ID")
    private Long userId;
    
    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "审核人ID")
    private Long reviewerId;
    
    @Schema(description = "审核人姓名")
    private String reviewerName;
    
    @Schema(description = "审核状态")
    private String status;
    
    @Schema(description = "审核意见")
    private String reviewComment;
    
    @Schema(description = "创建时间")
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    
    @Schema(description = "更新时间")
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
}